<script setup lang="ts">

import ModelUse2 from '@views/basic/ModelUse2.vue'
import { ref } from 'vue'
const userCount = ref(0)
const isShow = ref(false)
</script>

<template>
  <div class="card-box">
    父组件：{{ userCount }} <br />
    子组件：
    <ModelUse2 v-model="userCount" v-model:dialogFlag="isShow"></ModelUse2>
    <div v-if="isShow">dialog</div>
  </div>
</template>

<style scoped>

</style>
